Skip to content

B-Extra: project picture and description, project cards, Workspaces in Settings - #442

Merged
bubulux merged 1 commit into
mainfrom
feat/426-projects
Nov 25, 2026
Merged

bubulux merged 1 commit into
mainfrom
feat/426-projects

Conversation

@bubulux

@bubulux bubulux commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Part of #426 (B-Extra), round 3, step 2: projects and workspaces (R4, R5, R6).

  • Project picture and description (migration 0012: projects.description, picture_type, picture_at; additive).
    • The picture is uploaded from the computer in Settings › General and is not a file of the project.
    • The browser scales it to fit 2000 × 2000 (JPEG).
    • The server takes JPEG, PNG or WebP, at most 5 MB and 2048² pixels (read from the header, never decoded) and stores it in R2 at projects/<id>/picture.
    • New routes: PUT/GET/DELETE /api/projects/:id/picture. The description is saved when you leave the field.
  • All projects as cards, grouped by workspace: picture, name, description, files and created date; Open, Rename and Delete. The grid has room for more facts later.
  • Workspaces leave Account: Settings has a Workspaces section with All workspaces (each one with your role, members and projects) and one page per workspace (rename, members and roles, a new project in it). Account keeps who you are and your password. Workspaces are not files.

Checked:

  • make check green, with a new route test (projects.test.ts: description kept, picture checked for type and size, read back, refused to another workspace, removed) and tenancy cases for the three routes.
  • Migration applied locally; clicked through: upload a picture, write a description, the cards, and the Workspaces nav.

🤖 Generated with Claude Code

…aces in Settings (#426)

- A project has a description and a picture (migration 0012): the picture is uploaded from the
  computer, scaled in the browser to fit 2000 × 2000, stored in R2, at most 5 MB and 4 MP on the
  server (size read from the header); not a file of the project. Both in Settings › General.
- All projects are cards grouped by workspace: picture, name, description, files, created; open,
  rename, delete.
- Workspaces leave Account: a Workspaces section in Settings with an overview of every workspace you
  belong to and one page per workspace (rename, members and roles, a new project).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bubulux
bubulux merged commit 27b9ca4 into main Nov 25, 2026
5 checks passed
@bubulux bubulux mentioned this pull request Nov 25, 2026
41 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant